projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f08fe43
)
(x_destroy_window) [HAVE_X_I18N]: Free xic and xim of frame.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 18 Mar 1996 03:20:06 +0000
(
03:20
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 18 Mar 1996 03:20:06 +0000
(
03:20
+0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 28931a370fa32665a270da3576ab8a26b41e1818..352fa426eadfd4362f15fb820e62f559631e47a7 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-5559,6
+5559,13
@@
x_destroy_window (f)
{
if (f->output_data.x->icon_desc != 0)
XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc);
+#ifdef HAVE_X_I18N
+ if (FRAME_XIM (f))
+ {
+ XDestroyIC (FRAME_XIC (f));
+ XCloseIM (FRAME_XIM (f));
+ }
+#endif
XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc);
#ifdef USE_X_TOOLKIT
XtDestroyWidget (f->output_data.x->widget);